
package com.submaxim_testdb.data;

import java.io.Serializable;


/**
 *  submaxim_testDB.CronId
 *  11/10/2011 17:39:29
 * 
 */
public class CronId
    implements Serializable
{

    private Boolean campaignpackager;
    private Boolean mailinjectorzip;

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof CronId)) {
            return false;
        }
        CronId other = ((CronId) o);
        if (this.campaignpackager == null) {
            if (other.campaignpackager!= null) {
                return false;
            }
        } else {
            if (!this.campaignpackager.equals(other.campaignpackager)) {
                return false;
            }
        }
        if (this.mailinjectorzip == null) {
            if (other.mailinjectorzip!= null) {
                return false;
            }
        } else {
            if (!this.mailinjectorzip.equals(other.mailinjectorzip)) {
                return false;
            }
        }
        return true;
    }

    public int hashCode() {
        int rtn = 17;
        rtn = (rtn* 37);
        if (this.campaignpackager!= null) {
            rtn = (rtn + this.campaignpackager.hashCode());
        }
        rtn = (rtn* 37);
        if (this.mailinjectorzip!= null) {
            rtn = (rtn + this.mailinjectorzip.hashCode());
        }
        return rtn;
    }

    public Boolean getCampaignpackager() {
        return campaignpackager;
    }

    public void setCampaignpackager(Boolean campaignpackager) {
        this.campaignpackager = campaignpackager;
    }

    public Boolean getMailinjectorzip() {
        return mailinjectorzip;
    }

    public void setMailinjectorzip(Boolean mailinjectorzip) {
        this.mailinjectorzip = mailinjectorzip;
    }

}
